QT -= gui

CONFIG += c++11 console
CONFIG -= app_bundle

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        cvstereo.cpp \
        main.cpp

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../OpenCV4/opencv/build/x64/vc15/lib/ -lopencv_world453
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../OpenCV4/opencv/build/x64/vc15/lib/ -lopencv_world453d

INCLUDEPATH += $$PWD/../../OpenCV4/opencv/build/include
DEPENDPATH += $$PWD/../../OpenCV4/opencv/build/include

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../OpenCV4/opencv/build/x64/vc15/lib/libopencv_world453.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../OpenCV4/opencv/build/x64/vc15/lib/libopencv_world453d.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../OpenCV4/opencv/build/x64/vc15/lib/opencv_world453.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../OpenCV4/opencv/build/x64/vc15/lib/opencv_world453d.lib

HEADERS += \
    cvstereo.h
